﻿CREATE TABLE [dbo].[ArticulosListasPreciosVentas] (
    [IdArticulo]         INT             NOT NULL,
    [IdListaPrecioVenta] INT             NOT NULL,
    [Valor]              DECIMAL (19, 4) NOT NULL,
    CONSTRAINT [PK_ArticulosListasPreciosVentas] PRIMARY KEY CLUSTERED ([IdArticulo] ASC, [IdListaPrecioVenta] ASC),
    CONSTRAINT [FK_ArticulosListasPreciosVentas_Articulos] FOREIGN KEY ([IdArticulo]) REFERENCES [dbo].[Articulos] ([IdArticulo]),
    CONSTRAINT [FK_ArticulosListasPreciosVentas_ListasPreciosVentas] FOREIGN KEY ([IdListaPrecioVenta]) REFERENCES [dbo].[ListasPreciosVentas] ([IdListaPrecioVenta])
);

